#pragma once
#include "my_log.hpp"

class runtime_check
{
public:
    static void operator()(bool input, const char* error)
    {
        if (input == false)
        {
            lg.basic_print(level::FATAL, std::make_tuple(error), true);
            std::terminate();
        }
    }
};